#ifndef MODBUSWIG_H
#define MODBUSWIG_H

#include <QWidget>
#include "globalval.h"
#include "mqtthandler.h"


namespace Ui {
class ModbusWig;
}

class ModbusWig : public QWidget
{
    Q_OBJECT

public:
    explicit ModbusWig(QWidget *parent = 0);
    ~ModbusWig();

private slots:
    void on_led_button_clicked();

    void on_fan_button_clicked();

    void on_lignt_button_clicked();

    void on_fmq_button_clicked();

private:
    Ui::ModbusWig *ui;

    bool led_state;
    bool fan_state;
    bool voice_state;
    bool light_state;
};

#endif // MODBUSWIG_H
